Well Test > Configuring CygNet Well Test > Configuring Well Test Using XML > Elements and Attributes > SleepTimerActions

SleepTimerActions

The Monitor or Test action types support the configuration of sleep time action(s) to specify how long the Test or Monitor action type will "sleep" before updating the actual timeout value and evaluating the conditional expression. If any actions are specified for the Sleep time actions, then for every sleeptime timeout specified, those actions will be executed. For example, wait five seconds and then poll the device. In the XML configuration these conditional actions are specified in the <SleepTimerActions> element.

To learn about how these elements relate to other elements in a well test configuration XML structure, see Well Test Hierarchy.

Example

<Action type="Test" timeoutValue="TMWTTGT" timeoutValueType="UDC" timeoutValueUpdate="True" timeoutRelativeFacilityLink="" timeoutActualUdc="TMWTACT" udc="POMSV" operator="=" value="1000" conditionRelativeFacilityLink="Separator" sleeptime="5000">

<SleepTimerActions>

<Action type="UisCommand" command="POLL" relativeFacilityLink="Separator" statusUDC="SYCMDSTAT">

<Parameters />

</Action>

</SleepTimerActions>

</Action>

 

<Action …>

<SleepTimerActions>

<Action type="UisCommand" command="POLL" relativeFacilityLink="Separator" statusUDC="SYCMDSTAT" />

<Action type="PointValueCompare" operator="&lt;&gt;" value1="POMSV" value1type="UDC" value1relativeFacilityLink="Separator"

value2="1" value2type="SELF" value2relativeFacilityLink="">

<TrueAction>

<!-- Position moved...need to stop test - and alarm out-->

<Action type="Exit" udc="MSG" relativeFacilityLink="Separator" valueType="Text" attribute="" value="Position Moved" />

</TrueAction>

<FalseAction>

</FalseAction>

</Action>

</SleepTimerActions>

</Action>

Properties

The <SleepTimerActions> element has the following properties:

Property Description

Case Sensitive

Yes

Required

Yes

Number of Instances Allowed

1

Parent Element

<Action>

Child Elements

<Action>

Attributes

None

Attributes

The <SleepTimerActions> element has no attributes.

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.